package com.minghan.mhoauth.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.minghan.mhoauth.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//是org.apache.ibatis.annotations.Mapper; 不是mapstruct的
@Mapper
public interface UserDao extends BaseMapper<User> {

    //xml中使用参数：user_name=#{userName} （不需要@Param标注
    List<User> selectIdByName(String userName);
}
